import request from '@/utils/request'

// 查询已审核列表
export function listReviewed(query) {
  return request({
    url: '/cc/reviewed/list',
    method: 'get',
    params: query
  })
}

// 查询已审核详细
export function getReviewed(id) {
  return request({
    url: '/cc/reviewed/' + id,
    method: 'get'
  })
}

// 新增已审核
export function addReviewed(data) {
  return request({
    url: '/cc/reviewed',
    method: 'post',
    data: data
  })
}

// 修改已审核
export function updateReviewed(data) {
  return request({
    url: '/cc/reviewed',
    method: 'put',
    data: data
  })
}

// 删除已审核
export function delReviewed(id) {
  return request({
    url: '/cc/reviewed/' + id,
    method: 'delete'
  })
}
